<!DOCTYPE HTML >
<html>
    <head>
        <title>span标签</title>
        <meta charset= 'utf-8'>
        <link rel='stylesheet' type='text/css' href='../css/c1.css'>
    </head>
    <body>
    <div class='title'>&lt;span&gt; 标签被用来组合文档中的行内元素</div>
    <hr/>
    <div class='title'>示例：</div>
    <div class='code'>
    <pre>
        &lt;p&gt;&lt;<span class='red'> span</span> id = 'span'style='color:blue;'&gt;some text.
        &lt;<span class='red'>/span&gt;</span>some other text.&lt;/p&gt;</pre>
    </div>
    <hr/>
    <div class='title'>代码效果 </div>
    <div class='result'>
    <p><span id = 'span'style='color:blue;' >some text.</span>some other text.</p></div>
    </body>
</html>